package spring.framework.study;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Hello world!
 *
 */
@SpringBootApplication
public class App {
	public static void main(String[] args) {
		SpringApplication.run(App.class, args);

		//ConfigurableApplicationContext context = SpringApplication.run(App.class, args);

		// 2、查看容器里面的组件
		//String[] names = context.getBeanDefinitionNames();
 		//for (String name : names) {
			//System.out.println("BeanDefinitionName ==> " + name);
		//}

	}
}
